-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update key_colnames
, revision_summary
#540
Draft
brookslogan
wants to merge
13
commits into
dev
Choose a base branch
from
lcb/update-key_colnames.epi_archive
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
brookslogan
force-pushed
the
lcb/update-key_colnames.epi_archive
branch
from
October 10, 2024 19:27
97fdc29
to
052854f
Compare
brookslogan
force-pushed
the
lcb/update-key_colnames.epi_archive
branch
from
October 22, 2024 21:24
592c3a2
to
1353df9
Compare
* Make `key_colnames.epi_archive` output epikey-time-version rather than just epikey-time. * Make `key_colnames.data.frame` require `other_keys` be provided. * Remove `key_colnames.default`. * Make `key_colnames` forbid passing `exclude` positionally. * Update downstream `revision_summary`.
* Produce error rather than default selection when user provides a tidyselection in ... but it selects zero columns. * Change time_within_x_latest to take `values` as a vector * Use `.data` instead of `pick` etc. in some places
So it is not misinterpreted as "the amount of time that it has been near the latest".
and avoid unnecessary `abs()`
to ease epipredict transition.
* This may fix some behaviors and emit more sensible error messages on yearmonths given yearmonth-incompatible settings. * This should express time differences for weekly data in terms of weeks, and may emit errors given weekly-"incompatible" settings. * This appears to be computationally faster (vs. `as.integer(version) - as.integer(time_value)`).
brookslogan
force-pushed
the
lcb/update-key_colnames.epi_archive
branch
from
December 16, 2024 19:25
1353df9
to
f60a221
Compare
brookslogan
force-pushed
the
lcb/update-key_colnames.epi_archive
branch
2 times, most recently
from
December 18, 2024 20:11
ea6cfc0
to
93b2cca
Compare
brookslogan
force-pushed
the
lcb/update-key_colnames.epi_archive
branch
from
December 18, 2024 23:44
93b2cca
to
97495b9
Compare
It's probably best to immediately ungroup after performing grouped operations in our documentation, as leaving things grouped accidentally is a source of errors. Sometime we should consider an overhaul to use `by =` and `.by =` where appropriate (sorting effects not needed) and available (not all operations support this syntax yet). There were already 0s in the example data, so "highlight" with words the effects of completion + note one potential surprise in other applications.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Checklist
Please:
PR).
brookslogan, nmdefries.
DESCRIPTION
. Always incrementthe patch version number (the third number), unless you are making a
release PR from dev to main, in which case increment the minor version
number (the second number).
(backwards-incompatible changes to the documented interface) are noted.
Collect the changes under the next release number (e.g. if you are on
1.7.2, then write your changes under the 1.8 heading).
process.
Change explanations for reviewer
key_colnames.epi_archive
output its unique key colnames (including version).key_colnames.data.frame
requireother_keys
to be passed.key_colnames.default
.exclude =
to be passed by name inkey_colnames
.key_colnames
.revision_summary
to use newkey_colnames.epi_archive
.revision_summary
.revision_summary
.epipredict
errorsOriginally, I misread and thought these were from passing
other_keys =
hopefully-redundantly intokey_colnames.epi_df
and having them be ignored. I was planning to do something likeHowever, the error is actually from passing
extra_keys =
(which was also previously ignored, but it sounds like it has a different meaning). I am looking a bit more into this.extra_keys =
other_keys =
instead. If current behavior ofother_keys =
withepi_df
s breaks later, then decide whether to change things here or adjust any offending steps/layers.other_keys =
inkey_colnames.data.frame
should be flagging this, right?Other work
revision_summary()
adjustmentsMagic GitHub syntax to mark associated Issue(s) as resolved when this is merged into the default branch
key_colnames
returns wrong values for archive data #565epi_archive
's compactify doesn't support distributions #541key_colnames.epi_archive
: double-check intention, fix implementation #539